package edu.stanford.prpl.common;

public class PRPLConstants {

	public static final String PRPL_PREFIX = "http://prpl.stanford.edu/#";

	public static final int DEFAULT_PCM_PORT = 59910;
	public static final int DEFAULT_BLOB_SERVER_PORT = 59911;
	public static final int DEFAULT_CACHE_PORT = 59912;
	public static final String DEFAULT_API_NAME = "prpl";
	public static final String DEFAULT_HANDLER_PREFIX = "prpl";

	public static final int DEFAULT_INDEX_CHECKPOINT_PERIOD = 60;

	public static final String DEFAULT_SERIALIZATION_LANG = "N3";

	public static final String MIME_APPLICATION_OCTET_STREAM = "application/octet-stream";

	public static final int PRPL_X_REQUEST_DEFAULT_READ_TIMEOUT = 10000;
	public static final int PRPL_X_REQUEST_DEFAULT_TIMEOUT = 10000;

	public static final String PRPL_X_REQUEST = "PRPL_X_REQUEST_PROTOCOL";
	
	public static final String PRPL_X_REQUEST_PARAMS = "PRPL_X_REQUEST_PARAMS";

	public static final String PRPL_X_REQUEST_BLOB_READ = "PRPL_X_PROTOCOL_BLOB_READ";
	public static final String PRPL_X_REQUEST_BLOB_WRITE = "PRPL_X_PROTOCOL_BLOB_WRITE";

	public static final String PRPL_X_REQUEST_INDEX_IMPORT = "PRPL_X_REQUEST_INDEX_IMPORT";
	public static final String PRPL_X_REQUEST_INDEX_EXPORT = "PRPL_X_REQUEST_INDEX_EXPORT";

	public static final String PRPL_X_REQUEST_INDEX_LAST_IMPORT_TIME = "PRPL_X_REQUEST_INDEX_LAST_IMPORT_TIME";
	public static final String PRPL_X_REQUEST_INDEX_LAST_EXPORT_TIME = "PRPL_X_REQUEST_INDEX_LAST_EXPORT_TIME";

	public static final String PRPL_X_REQUESTER_USER_URI = "PRPL_X_REQUESTER_USER_URI";
	public static final String PRPL_X_REQUESTER_DEVICE_URI = "PRPL_X_REQUESTER_DEVICE_URI";

	public static final String PRPL_X_RESPONSE = "PRPL_X_RESPONSE_PROTOCOL";
	public static final String PRPL_X_RESPONSE_BLOB_WATCH = "PRPL_X_RESPONSE_BLOB_WATCH";
	public static final String PRPL_X_RESPONSE_VALUES = "PRPL_X_RESPONSE_VALUES";
}
